#pragma once
#include "Instance.h"
#include "Session.h"
#include "Database.h"

class test_image_loader
{
public:
	test_image_loader();
	~test_image_loader();

	void initialize();
	void prepare();
	void run();
	void cleanup();

private:
	std::unique_ptr< ese::jet> m_jet;
	std::unique_ptr< ese::session> m_ses;
	std::unique_ptr< ese::database> m_db;
	std::string m_db_file_name;
	std::string m_parse_root;

	void create_img_table();
	void read_root_folder();
	uint32_t insert_img_records(uint32_t& found);
};

